#if !defined(AFX_LOGINDLG_H__5937C551_EA1C_461A_8E44_57C0A894EF03__INCLUDED_)
#define AFX_LOGINDLG_H__5937C551_EA1C_461A_8E44_57C0A894EF03__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// LoginDlg.h : header file
//
/////////////////////////////////////////////////////////////////////////////
// CLoginDlg dialog
class CLoginDlg : public CDialog
{
// Construction
public:
	CLoginDlg(CWnd* pParent = NULL);   // standard constructor

// Dialog Data
	//{{AFX_DATA(CLoginDlg)
	enum { IDD = IDD_DIALOG_LOGIN };
	CIPAddressCtrl	m_ipAddr;
	CDrawEdit	m_etUser;
	CDrawEdit	m_etPswd;
	//}}AFX_DATA

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CLoginDlg)
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	afx_msg LRESULT OnLoginResult(WPARAM wParam, LPARAM lParam);
	afx_msg LRESULT OnDisConnect( WPARAM wParam, LPARAM lParam );
	//}}AFX_VIRTUAL

// Implementation
protected:

	// Generated message map functions
	//{{AFX_MSG(CLoginDlg)
	virtual BOOL OnInitDialog();
	afx_msg void OnBtnLogin();
	afx_msg void OnDestroy();
	afx_msg void OnPaint();	
	afx_msg HBRUSH OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor);
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
public:

private:
	//CKOspClientInstance m_ospClientInst;
	/*CButtonST*/CGdipButton m_btnLogin;

	HBITMAP m_hBitmap;

public:
	afx_msg BOOL OnEraseBkgnd(CDC* pDC);
};

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_LOGINDLG_H__5937C551_EA1C_461A_8E44_57C0A894EF03__INCLUDED_)
